package com.jiangjiang.eshop.commodity.convert;

import com.jiangjiang.eshop.commodity.domain.PropertyGroupEntity;
import com.jiangjiang.eshop.commodity.dto.PropertyGroupDTO;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * @ClassName PropertyGroupConvert
 * @Description TODO
 * @Author jhw
 * @Date 2021/6/20 16:20
 * @Version 1.0
 **/
@Mapper(componentModel = "spring")
public interface PropertyGroupConvert {
    PropertyGroupEntity convertDTO2Entity(PropertyGroupDTO dto);

    List<PropertyGroupDTO> convertEntities2DTOList(List<PropertyGroupEntity> entities);
}
